gdk/wayland: Ensure to update input area on map
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 5 Nov 2020 14:09:35 +0000 (15:09 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 5 Nov 2020 20:29:20 +0000 (21:29 +0100)
If a surface is hidden, then shown again, it should preserve the
input area specified. Make sure that happens.

gdk/wayland/gdksurface-wayland.c

index 0706db865d2d285c6302dfbfddeffb3ef7e7c5c9..df106ee6e3b6b79ae30de3b298e3351664e2c148 100644 (file)
@@ -2798,6 +2798,7 @@ gdk_wayland_surface_hide_surface (GdkSurface *surface)
     }
 
   impl->has_uncommitted_ack_configure = FALSE;
+  impl->input_region_dirty = TRUE;
 
   unset_transient_for_exported (surface);